package com.example.houselease.service;

import com.example.houselease.pojo.dto.admin.PictureAddNewDTO;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.security.core.parameters.P;

@SpringBootTest
public class test {
    @Autowired
    IPictureService service;
    @Test
    void addNew(){
        PictureAddNewDTO pictureAddNewDTO = new PictureAddNewDTO();
        pictureAddNewDTO.setUrl("sads");
        pictureAddNewDTO.setRoomId(2L);
        service.addNew(pictureAddNewDTO);
    }
}
